package com.xyht.sca_s.student_manage_system.modules.leave.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.leave.entity.SmsLeaveProcess;
import com.xyht.sca_s.student_manage_system.modules.leave.entity.req.SmsLeaveProcessReq;
import com.xyht.sca_s.student_manage_system.modules.leave.entity.req.SmsLeaveProcessUpdateReq;

/**
 * <p>
 * 请假流程设置 服务类
 * </p>
 *
 * @author XYHT
 * @since 2022-12-06
 */
public interface SmsLeaveProcessService extends IService<SmsLeaveProcess> {
    ResponseResult addLeaveProcess (SmsLeaveProcessReq smsLeaveProcessReq);
    ResponseResult applyLeaveProcess ();
    ResponseResult updateLeaveProcess (SmsLeaveProcessUpdateReq smsLeaveProcessUpdateReq);
    ResponseResult deleteLeaveProcess (SmsLeaveProcess smsLeaveProcess);

    ResponseResult getLeaveProcess(Integer pageSize,Integer pageNum);
    ResponseResult getLeaveProcessDetail(String process_id);

    ResponseResult getTotalHour();
}
